Drop unused debug keys
authorMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jan 2018 04:16:30 +0000 (23:16 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Wed, 10 Jan 2018 04:21:33 +0000 (23:21 -0500)
The multihead, xim and xinerama keys do nothing anymore.

docs/reference/gtk/running.sgml
gdk/gdk.c
gdk/gdkinternals.h

index 70de484a3806c4e4401eadfdfe1600b442ec5018..8f6d2936be71f20362c74be42bd1fa2e23e20ec0 100644 (file)
@@ -306,14 +306,6 @@ nevertheless.
       <term>nograbs</term>
       <listitem><para>Turn off all pointer and keyboard grabs</para></listitem>
     </varlistentry>
-    <varlistentry>
-      <term>xinerama</term>
-      <listitem><para>Simulate a multi-monitor setup</para></listitem>
-    </varlistentry>
-    <varlistentry>
-      <term>xim</term>
-      <listitem><para>Information about XIM support</para></listitem>
-    </varlistentry>
 
   </variablelist>
   The special value <literal>all</literal> can be used to turn on all
index 28eb0fe97a6eef4590a53384e558ca913a217e11..107e88b9ee669035c353224e89599b13236de6da 100644 (file)
--- a/gdk/gdk.c
+++ b/gdk/gdk.c
@@ -156,12 +156,9 @@ static const GDebugKey gdk_debug_keys[] = {
   { "events",        GDK_DEBUG_EVENTS },
   { "misc",          GDK_DEBUG_MISC },
   { "dnd",           GDK_DEBUG_DND },
-  { "xim",           GDK_DEBUG_XIM },
   { "nograbs",       GDK_DEBUG_NOGRABS },
   { "input",         GDK_DEBUG_INPUT },
   { "cursor",        GDK_DEBUG_CURSOR },
-  { "multihead",     GDK_DEBUG_MULTIHEAD },
-  { "xinerama",      GDK_DEBUG_XINERAMA },
   { "eventloop",     GDK_DEBUG_EVENTLOOP },
   { "frames",        GDK_DEBUG_FRAMES },
   { "settings",      GDK_DEBUG_SETTINGS },
index dde2c539e23863668aef720fb7f446930156279f..3e90979237ce20f6613e0fa4f379d02fb6708bf7 100644 (file)
@@ -60,19 +60,16 @@ typedef enum {
   GDK_DEBUG_MISC          = 1 <<  0,
   GDK_DEBUG_EVENTS        = 1 <<  1,
   GDK_DEBUG_DND           = 1 <<  2,
-  GDK_DEBUG_XIM           = 1 <<  3,
-  GDK_DEBUG_NOGRABS       = 1 <<  4,
-  GDK_DEBUG_INPUT         = 1 <<  5,
-  GDK_DEBUG_CURSOR        = 1 <<  6,
-  GDK_DEBUG_MULTIHEAD     = 1 <<  7,
-  GDK_DEBUG_XINERAMA      = 1 <<  8,
-  GDK_DEBUG_EVENTLOOP     = 1 <<  9,
-  GDK_DEBUG_FRAMES        = 1 << 10,
-  GDK_DEBUG_SETTINGS      = 1 << 11,
-  GDK_DEBUG_OPENGL        = 1 << 12,
-  GDK_DEBUG_VULKAN        = 1 << 13,
-  GDK_DEBUG_SELECTION     = 1 << 14,
-  GDK_DEBUG_CLIPBOARD     = 1 << 15
+  GDK_DEBUG_NOGRABS       = 1 <<  3,
+  GDK_DEBUG_INPUT         = 1 <<  4,
+  GDK_DEBUG_CURSOR        = 1 <<  5,
+  GDK_DEBUG_EVENTLOOP     = 1 <<  6,
+  GDK_DEBUG_FRAMES        = 1 <<  7,
+  GDK_DEBUG_SETTINGS      = 1 <<  8,
+  GDK_DEBUG_OPENGL        = 1 <<  9,
+  GDK_DEBUG_VULKAN        = 1 << 10,
+  GDK_DEBUG_SELECTION     = 1 << 11,
+  GDK_DEBUG_CLIPBOARD     = 1 << 12
 } GdkDebugFlag;
 
 typedef enum {